package pl.pasu.mydiet.shared;

import java.io.Serializable;

public class DietResponse implements Serializable {
	private static final long serialVersionUID = 8628858299630665826L;

	public enum Code {
		OK, FAIL
	};

	private Code responseCode;
	private String responseMessage;

	public DietResponse() {

	}

	public DietResponse(Code c, String msg) {
		responseCode = c;
		responseMessage = msg;
	}

	public Code getResponseCode() {
		return responseCode;
	}

	public String getResponseMessage() {
		return responseMessage;
	}

}
